package com.personal.bo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@ApiModel(value = "CommentListBO",description = "查询资源评价列表bo")
@Data
public class CommentListBO {

    @ApiModelProperty(value = "资源id",example = "1")
    @NotNull(message = "资源文章id不能为空")
    private Integer id;

    @ApiModelProperty(value = "评价等级",example = "1")
    private Integer level;

    @NotNull(message = "分页参数不能为空")
    @ApiModelProperty(value = "分页参数",example = "1")
    private Integer pageNum;

    @NotNull(message = "分页参数不能为空")
    @ApiModelProperty(value = "分页参数",example = "10")
    private Integer pageSize;


}
